<?php 
 
namespace app\common\model;

use app\common\model\BaseModel;
use app\common\traits\ModelTrait;
use app\common\utils\JsonService;
/**
* This is the model class for table "{ptf_shipping}".
*
* @property int $shipping_id 表 id 
* @property string $shipping_code 快递代号
* @property string $shipping_name 快递名称
* @property int $shop_id 店铺ID 
* @property string $shipping_desc 描述
* @property int $enabled 是否开启 
*/
class Shipping extends BaseModel{

    protected $pk = 'shipping_id';
    protected $name = 'shipping';

    use ModelTrait;
    protected $autoWriteTimestamp = true;
    //protected $dateFormat = 'Y-m-d';
    //protected $createTime = 'create_time';
    //protected $updateTime = 'update_time';

    /**
    * {@inheritdoc}
    */
    public function attributeLabels()
    {
        return [
            'shipping_id' => '表 id',
            'shipping_code' => '快递代号',
            'shipping_name' => '快递名称',
            'shop_id' => '店铺ID',
            'shipping_desc' => '描述',
            'enabled' => '是否开启',
        ];
    }

}


?>